package cn.wancat.pattern.structural.proxy.staticproxy;

public class ProxyTarget implements Target{

    private Target target;

    public ProxyTarget(Target target) {
        this.target = target;
    }

    @Override
    public void save() {
        System.out.println("------------>proxy exe`");
        target.save();
        System.out.println("------------->proxy exec end");
    }
}
